import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { InquirePage } from './inquire-page';

const routes: Routes = [
  {
    path: '',
    component: InquirePage
  },
  {
    path: 'order',
    loadChildren: () => import('./order/order.module').then( m => m.OrderPageModule)
  },
  {
    path: 'invoice',
    loadChildren: () => import('./invoice/invoice.module').then( m => m.InvoicePageModule)
  },
  {
    path: 'invoice-rise',
    loadChildren: () => import('./invoice-rise/invoice-rise.module').then( m => m.InvoiceRisePageModule)
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class InquirePageRoutingModule {}
